package common.core.constant;

/**
 * @author xhl
 * @created 2020-01-20 17:15
 */
public class Constant {

    /**
     * 项目检索编号生成
     */
    public static final String REDIS_ITEM_GENERATE_KEY = "item:generate";

    /************redis key end*****************/

    /**
     * 生成样本编号前缀字母
     */
    public static final String SAMPLE_NUMBER_PREFIX = "PSES";

    /**
     * 生成父项目前缀字母
     */
    public static final String PARENT_PROJECT_PREFIX = "PDS";

    /**
     * 生成子项目前缀字母
     */
    public static final String SUB_PROJECT_PREFIX = "PSE";

    /**
     * 生成项目分组前缀字母
     */
    public static final String PROJECT_GROUP_PREFIX = "PSEG";

    /**
     * 父编号长度
     */
    public static final int PARENT_PROJECT_SIZE = 5;

    /**
     * 父编号长度
     */
    public static final int SUB_PROJECT_SIZE = 14;

    /**
     * 常规H&E染色前缀字母
     */
    public static final String TAR_CONVENTIONAL_DYEING_INFO_PREFIX = "ETS";

    /**
     * 结果编号
     */
    public static final String TAR_RESULT_PREFIX = "TRF";

    /**
     * 检测试剂前缀字母
     */
    public static final String TAR_REAGENT_INFO_PREFIX = "REA";

    /**
     * 检测试剂详情前缀字母
     */
    public static final String TAR_REAGENT_DETAIL_PREFIX = "RED";

    /**
     * 特殊染色检测方法
     */
    public static final String TAR_SPECIAL_INFO2_PREFIX = "ETM";


    /**
     *特殊染色
     */

    /**
     * 特殊染色前缀字母
     */
    public static final String TAR_PROTEIN_NUCLEIC_ACID_INFO_PREFIX = "PNA";

    /**
     * 蛋白&核酸表达前缀字母
     */
    public static final String TAR_SPECIAL_DYEING_INFO_PREFIX = "SDY";

    /**
     * 蛋白前缀
     */
    public static final String TAR_PROTEIN_PREFIX = "ETP";

    /**
     * 核酸前缀
     */
    public static final String TAR_NUCLEIC_ACID_PREFIX = "ETN";

    /**
     * 检测抗体前缀字母
     */
    public static final String TAR_ANTIBODY_INFO_PREFIX = "ETR";

    /**
     * 系统配置信息特定分组
     */

    // 蛋白修饰状态
    public static final String PROTEIN_MODIFICATION_STATUS = "1";

    // 抗体应用
    public static final String ANTIBODY_APPLICATION = "2";

    // 细胞处理方法
    public static final String CELL_PROCESSING_METHOD = "3";

    // 组织切片
    public static final String TISSUE_SECTION = "4";

    // 细胞固定方法
    public static final String CELL_FIXATION_METHODS = "5";

    /**
     * 生成特定样本信息检索编号前缀  Specific samples
     */
    public static final String SPECIFIC_SAMPLES_PREFIX = "PSEST";

    public static final String TAR_SPECIAL_INFO_PREFIX = "SSI";


    /**
     * 上传的图片文件 后缀
     */
    public static final String IMAGE_TYPE_LIST = ".jpg.png";

    /**
     * 文件名
     */
    public static final String FILE_NAME_SOFT = "soft";
    public static final String FILE_NAME_TXT = "txt";
    public static final String FILE_NAME_SUPPLEMENTARY = "Supplementary";
    public static final String FILE_NAME_MINIML = "MINIML";
    public static final String FILE_NAME_RESULT = "RESULT";
}
